FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER wd@xuewenbao,cn

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /xwb

WORKDIR /xwb

EXPOSE 8080

ADD ./xwb.jar .

CMD sleep 60;java -Djava.security.egd=file:/dev/./urandom -jar xwb.jar
